<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h3>查看</h3>
    <form action="{:url('info')}">
        <div>
            <label for="user_id">用户ID</label>
            <input type="text" id="user_id" name="user_id">
        </div>
        <button type="submit">提交</button>
    </form>

    <h3>修改权限</h3>
    <form action="{:url('update')}">
        <div>
            <label for="user_id">用户ID</label>
            <input type="text" id="user_id" name="user_id">
        </div>
        <div>
            <label for="privilege">权限</label>
            <input type="text" id="privilege" name="privilege">
        </div>
        <button type="submit">提交</button>
    </form>

    <h3>绑定角色</h3>
    <form action="{:url('attach')}">
        <div>
            <label for="user_id">用户ID</label>
            <input type="text" id="user_id" name="user_id">
        </div>
        <div>
            <label for="role">角色</label>
            <input type="text" id="role" name="role">
        </div>
        <button type="submit">提交</button>
    </form>
    
    <h3>移除角色</h3>
    <form action="{:url('detach')}">
        <div>
            <label for="user_id">用户ID</label>
            <input type="text" id="user_id" name="user_id">
        </div>
        <div>
            <label for="role">角色</label>
            <input type="text" id="role" name="role">
        </div>
        <button type="submit">提交</button>
    </form>
</body>
</html>
